package com.pt5.pthouduan.entity;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.sql.DataSource;
import java.sql.*;

public interface StatsRecorder{
    void recordStats(
            String passkey,
            String infoHash,
            String ip,
            int port,
            String peerId,
            long uploaded,
            long downloaded
    );
}
